import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      component: ()=>import('../views/MemberLevelList.vue'),
    },
    {
      path: '/memberlist',
      component: ()=>import('../views/MemberList.vue'),
    },
    {
      path: '/updmemberlist',
      component: ()=>import('../views/UpdMemberList.vue'),
    },
    //-----第二周周考----------

    {
      path: '/showShop',
      component: ()=>import('../views/Week2/ShowShop.vue'),
    },

    {
      path: '/addShop',
      component: ()=>import('../views/Week2/AddShop.vue'),
    },

    {
      path: '/updShop',
      component: ()=>import('../views/Week2/UpdShop.vue'),
    },

    //-------第三周周考--------
    {
      path: '/htypeUpd',
      component: ()=>import('../views/Week3/HTypeUpd.vue'),
    },
    {
      path: '/htypeShow',
      component: ()=>import('../views/Week3/HTypeShow.vue'),
    },
    {
      path: '/hNumShow',
      component: ()=>import('../views/Week3/HNumShow.vue'),
    },
    {
      path: '/hNumAdd',
      component: ()=>import('../views/Week3/HNumAdd.vue'),
    },
  ],
})

export default router
